CC=gcc
CFLAGS=  -O0 -g -Wall
OBJECTS= Ray.o Camera.o Screen.o
INC=-I../../include
LIBS = -lm

all:    	test_Ray

test_Ray:   	$(OBJECTS) 
		$(CC) $(INC) test_Ray.c -o test_ray  $(OBJECTS) $(LIBS)
        
Screen.o: 		
		$(CC) $(INC) $(CFLAGS) -c ../../src/Screen.c

Camera.o: 		
		$(CC) $(INC) $(CFLAGS) -c ../../src/Camera.c
       
Ray.o: 		
		$(CC) $(INC) $(CFLAGS) -c ../../src/Ray.c
       
clean:
	rm -f test_ray $(OBJECTS)

